/*
 *  Artifact.h
 *  MilovoMg00
 *
 *  Created by jonny on 6/8/06.
 *  Copyright 2006 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef ARTIFACT_H
#define ARTIFACT_H

#include "Milovo_HCommons.h"

using namespace std;

class Artifact {
	Mil_Int ID;
	Mil_Int Name;
	Mil_Int IDRecipeOwner;
	Mil_Int IDAgentOwner;
	Mil_Int Status;
	Mil_Int Amount;
	Mil_Int AmountCeil;
	Mil_Int Buyers;
	Mil_Int BornStep;
	
public:
	Artifact();
	Artifact(Mil_Int tmpID, Mil_Int tmpName, Mil_Int tmpIDRecipeOwner, Mil_Int tmpIDAgentOwner, 
				Mil_Int tmpStatus, Mil_Int tmpAmount, Mil_Int tmpAmountCeil, Mil_Int tmpBuyers, 
				Mil_Int tmpBornStep);
	~Artifact();
	
	Mil_Int GetID() {return ID;}
	Mil_Int GetName() {return Name;}
	Mil_Int GetIDRecipeOwner() {return IDRecipeOwner;}
	Mil_Int GetIDAgentOwner() {return IDAgentOwner;}
	Mil_Int GetStatus() {return Status;}
	Mil_Int GetAmount() {return Amount;}
	Mil_Int GetAmountCeil() {return AmountCeil;}
	Mil_Int GetNumBuyers() {return Buyers;}
	Mil_Int GetBornStep() {return BornStep;}
	bool IsActive();
	
	void SetStatus(Mil_Int tmpNewStatus) {Status = tmpNewStatus;}
	void SetAmount(Mil_Int tmpNewAmount) {Amount = tmpNewAmount;}
	void SetNumBuyers(Mil_Int tmpNewBuyers) {Buyers = tmpNewBuyers;}
};

#endif

